package com.sun.hunk.hibernate;

import com.sun.hunk.hibernate.dao.RoleDAO;
import com.sun.hunk.hibernate.dao.CategoryDAO;
import com.sun.hunk.hibernate.dao.CommentDAO;
import com.sun.hunk.hibernate.dao.UserDAO;

/**
 *
 * @author sunil
 */
public class DAOFactory {

    public static UserDAO getUserDAO() {
        return new UserDAO();
    }

    public static RoleDAO getRoleDAO() {
        return new RoleDAO();
    }

    public static CategoryDAO getCategoryDAO() {
        return new CategoryDAO();
    }

    public static CommentDAO getCommnetDAO() {
        return new CommentDAO();
    }
}
